package com.mapper.repository.mysql;

import com.bean.wechat.WechatAccount;
import org.springframework.data.jpa.repository.JpaRepository;

public interface WechatAccountRepository extends JpaRepository<WechatAccount,String> {

    WechatAccount findByAccount(String account);

    WechatAccount findByUserid(String userid);

    int countByUserid(String userid);

}
